<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=<sty>, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
    *{margin:0;padding:0}
    /* 子元素不设置width，它会继承父元素的windth */
    div{ 
        background-color:#1ABFBF;
        height: 100px;
        background-image: url('images/log.png');
        background-repeat: no-repeat;
        
    }
    </style>
</head>
<body>
    <div>

    </div>
</body>
</html>